//
//  WHNormalCell.swift
//  8.31-WH微博
//
//  Created by 吴涵 on 15/9/12.
//  Copyright © 2015年 wuhan. All rights reserved.
//

import UIKit

class WHNormalCell: WHStatusViewCell {

    override func setUpUI() {
        super.setUpUI()
        /// 配图图片的布局
                let cons = pictureView.ff_AlignVertical(type: ff_AlignType.BottomLeft, referView: contentLabel, size: CGSize(width: WHStatusPictureMaxWidth, height: WHStatusPictureMaxWidth), offset: CGPoint(x: 0, y: WHStatusCellMargin))
                /// 记录配图的视图约束
                pictureViewWidthCons = pictureView.ff_Constraint(cons, attribute: NSLayoutAttribute.Width)
                pictrueViewHeightCons = pictureView.ff_Constraint(cons, attribute: NSLayoutAttribute.Height)
                pictureViewTopCons = pictureView.ff_Constraint(cons, attribute: NSLayoutAttribute.Top)
    }

}
